package com.itheima.stock.api;

import com.itheima.stock.response.ResponseResult;
import com.itheima.stock.vo.CaptchaVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zby
 * @created 2024-06-22 22:44
 * @description 对外暴露用户接口
 */
@RequestMapping(path = "/api")
public interface UserControllerAPI {

    /**
     * 获取验证码
     *
     * @return
     */
    @GetMapping(path = "/captcha")
    ResponseResult<CaptchaVO> Captcha();

    /**
     * 环境测试接口
     *
     * @return String
     */
    @GetMapping(path = "/user/test")
    String getName();


}
